package com.example.bwic_svc.model;

public class Result {
    private boolean success;
    private String message;
    private Bid bid;

    public Result(boolean success, String message, Bid bid) {
        this.success = success;
        this.message = message;
        this.bid = bid;
    }

    // 添加 getters 方法
    public boolean isSuccess() { return success; }
    public String getMessage() { return message; }
    public Bid getBid() { return bid; }

    @Override
    public String toString() {
        return "Result{" +
                "success=" + success +
                ", message='" + message + "'" +
                ", bid=" + bid +
                "}";
    }
}